<div class="container">
    <Header></Header>

    <div class="console-content flex-center">
        <!-- 侧边导航栏 -->
        <doc-aside-nav :routerList="routes"></doc-aside-nav>
        <!-- 路由 -->
        <div class="console-right full-h">
            <div class="console-right-content scrollbar">
                <router-view v-slot="{ Component }">
                    <keep-alive>
                        <component :is="Component" :key="$route.fullPath" v-if="$route.meta.keepAlive"></component>
                    </keep-alive>
                    <component :is="Component" :key="$route.fullPath" v-if="!$route.meta.keepAlive"></component>
                </router-view>
            </div>
        </div>    
    </div>      
</div>